package com.zzc.emotisenseclassroom.enums;

/**
 * Copyright Zzc
 * FileName: UserTypeEnum
 * Author:   Zzc
 * Date:     2024/4/281:55
 * Description:用户类型枚举类
 * hISTORY:
 * <author>  <time>     <version>    <desc>
 * 作者姓名   修改时间       版本号       描述
 * Zzc                   1.0.0
 */
public enum UserTypeEnum {
    TEACHER((byte)0, "教师账号"),

    STUDENT((byte)1, "学生账号")

    ;
    private final Byte type;

    private final String desc;

    UserTypeEnum(Byte type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Byte getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
